import React, { Component } from 'react'

export default class Child2 extends Component {
  render() {
    return (
        <div style={{flexGrow:1,background:'skyblue',height:'100vh'}}>
            <h1>子组件2</h1>
            <div>{this.props.cmsg}</div>
        </div>
    )
  }
}
